package cn.sciento.platform.app.service.impl;

import cn.sciento.platform.app.service.EntityTableService;
import cn.sciento.boot.platform.entity.dto.RegistParam;
import cn.sciento.boot.platform.entity.dto.SupportTypeEnum;
import cn.sciento.boot.platform.entity.service.EntityRegisterExecutor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * description
 *

 */
@Service
public class LocalEntityRegister implements EntityRegisterExecutor {
    @Autowired
    private EntityTableService entityTableService;
    @Override
    public void doRegist(RegistParam param) {
        entityTableService.doRegist(param);
    }

    @Override
    public SupportTypeEnum getSupportType() {
        return SupportTypeEnum.INTERNAL;
    }
}
